package com.heibaiying.springboot.dao;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.heibaiying.springboot.bean.Order;

@Mapper
public interface OrderDao {

	@Select("SELECT * from tbl_order")
	List<Order> getOrders();

	void updateOrder(@Param("id") Long id, @Param("totalAmount") BigDecimal totalAmount);
}
